home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / script-fu-predator.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  15.2 KB  |  386 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>9.9.¬† Predator</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="filters-artistic.html" title="9.¬† Artistic Filters" />
  14.     <link rel="prev" href="plug-in-apply-canvas.html" title="9.8.¬† Apply Canvas" />
  15.     <link rel="next" href="plug-in-lic.html" title="9.10.¬† Van Gogh (LIC)" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">9.9.¬†
  22.     <span lang="en" xml:lang="en">Predator</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="plug-in-apply-canvas.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">9.¬†
  28.     <span lang="en" xml:lang="en">Artistic Filters</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="plug-in-lic.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="script-fu-predator"></a>9.9.¬†
  40.     <span lang="en" xml:lang="en">Predator</span>
  41.   </h3>
  42.           </div>
  43.           <div>
  44.             <div class="revhistory">
  45.               <table border="1" width="100%" summary="Revision history">
  46.                 <tr>
  47.                   <th align="left" valign="top" colspan="3">
  48.                     <b>Revision History</b>
  49.                   </th>
  50.                 </tr>
  51.                 <tr>
  52.                   <td align="left">Revision $Revision: 2390 $</td>
  53.                   <td align="left">2008-01-03</td>
  54.                   <td align="left">ude</td>
  55.                 </tr>
  56.               </table>
  57.             </div>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <a id="id2760897" class="indexterm"></a>
  62.       <a id="id2760915" class="indexterm"></a>
  63.       <div class="sect3" lang="en" xml:lang="en">
  64.         <div class="titlepage">
  65.           <div>
  66.             <div>
  67.               <h4 class="title"><a id="id2760924"></a>9.9.1.¬†
  68.       <span lang="en" xml:lang="en">Overview</span>
  69.     </h4>
  70.             </div>
  71.           </div>
  72.         </div>
  73.         <div class="figure">
  74.           <a id="id2760935"></a>
  75.           <p class="title">
  76.             <b>Figure¬†16.177.¬†
  77.         <span lang="en" xml:lang="en">
  78.           Example for the ‚Äú<span class="quote">Predator</span>‚Äù filter
  79.         </span>
  80.       </b>
  81.           </p>
  82.           <div class="figure-contents">
  83.             <div class="mediaobject">
  84.               <img src="../images/filters/examples/taj_orig.jpg" alt="Example for the Predator filter" />
  85.               <div class="caption">
  86.                 <p>Original image</p>
  87.               </div>
  88.             </div>
  89.             <div class="mediaobject">
  90.               <img src="../images/filters/examples/artistic-taj-predator.jpg" alt="Example for the Predator filter" />
  91.               <div class="caption">
  92.                 <p>‚Äú<span class="quote">Predator</span>‚Äù applied</p>
  93.               </div>
  94.             </div>
  95.           </div>
  96.         </div>
  97.         <br class="figure-break" />
  98.         <p>
  99.        This filter adds a ‚Äú<span class="quote">Predator</span>‚Äù effect to the image. The
  100.        predator effect makes the image/selection look sort of like the view
  101.        the predator had in the movies (kind of a thermogram and that type of
  102.        thing). This will reduce the image to edges in a few basic colors on a
  103.        dark background.
  104.     </p>
  105.         <p>
  106.        If there is an active selection, the filter effect will be applied to
  107.        the selected region, otherwise to the alpha channel (the filter will
  108.        add an alpha channel, if necessary). The filter works best on colorful
  109.        RGB images.
  110.     </p>
  111.       </div>
  112.       <div class="sect3" lang="en" xml:lang="en">
  113.         <div class="titlepage">
  114.           <div>
  115.             <div>
  116.               <h4 class="title"><a id="id2761024"></a>9.9.2.¬†
  117.       <span lang="en" xml:lang="en">Activate the filter</span>
  118.     </h4>
  119.             </div>
  120.           </div>
  121.         </div>
  122.         <p>
  123.       This filter is found in the image window menu under
  124.       <span class="guimenu"><span class="accel">F</span>ilters</span> ‚Üí <span class="guisubmenu"><span class="accel">A</span>rtistic</span> ‚Üí <span class="guimenuitem"><span class="accel">P</span>redator</span>.
  125.     </p>
  126.       </div>
  127.       <div class="sect3" lang="en" xml:lang="en">
  128.         <div class="titlepage">
  129.           <div>
  130.             <div>
  131.               <h4 class="title"><a id="id2761072"></a>9.9.3.¬†
  132.       <span lang="en" xml:lang="en">Options</span>
  133.     </h4>
  134.             </div>
  135.           </div>
  136.         </div>
  137.         <div class="figure">
  138.           <a id="id2761083"></a>
  139.           <p class="title">
  140.             <b>Figure¬†16.178.¬†
  141.         <span lang="en" xml:lang="en">‚Äú<span class="quote">Predator</span>‚Äù options</span>
  142.       </b>
  143.           </p>
  144.           <div class="figure-contents">
  145.             <div class="mediaobject">
  146.               <img src="../images/filters/options-artistic-predator.png" alt="Predator options" />
  147.             </div>
  148.           </div>
  149.         </div>
  150.         <br class="figure-break" />
  151.         <div class="variablelist">
  152.           <dl>
  153.             <dt>
  154.               <span class="term">Edge amount</span>
  155.             </dt>
  156.             <dd>
  157.               <p>
  158.             The ‚Äú<span class="quote">predator</span>‚Äù filter will detect edges using the
  159.             Sobel <a class="link" href="plug-in-edge.html" title="4.3.¬† Edge">edge detector</a>. The
  160.             specified ‚Äú<span class="quote">Edge amount</span>‚Äù will be passed to the Sobel
  161.             filter. A high value will result in detecting more edges.
  162.           </p>
  163.               <div class="figure">
  164.                 <a id="id2761151"></a>
  165.                 <p class="title">
  166.                   <b>Figure¬†16.179.¬†
  167.               <span lang="en" xml:lang="en">‚Äú<span class="quote">Edge amount</span>‚Äù examples</span>
  168.             </b>
  169.                 </p>
  170.                 <div class="figure-contents">
  171.                   <div class="mediaobject">
  172.                     <img src="../images/filters/examples/predator-edge4.png" alt="Edge amount examples" />
  173.                     <div class="caption">
  174.                       <p>4</p>
  175.                     </div>
  176.                   </div>
  177.                   <div class="mediaobject">
  178.                     <img src="../images/filters/examples/predator-edge8.png" alt="Edge amount examples" />
  179.                     <div class="caption">
  180.                       <p>8</p>
  181.                     </div>
  182.                   </div>
  183.                   <div class="mediaobject">
  184.                     <img src="../images/filters/examples/predator-edge16.png" alt="Edge amount examples" />
  185.                     <div class="caption">
  186.                       <p>16</p>
  187.                     </div>
  188.                   </div>
  189.                 </div>
  190.               </div>
  191.               <br class="figure-break" />
  192.             </dd>
  193.             <dt>
  194.               <span class="term">Pixelize</span>
  195.             </dt>
  196.             <dd>
  197.               <p>
  198.             If checked, the filter will simplify the image into solid-colored
  199.             squares using the <a class="link" href="plug-in-pixelize.html" title="2.6.¬† Pixelise">Pixelise</a>
  200.             filter before the real predator effect will be applied. You can
  201.             select the size of these squares with the option <span class="guilabel">Pixel
  202.             amount</span>, which will heavily affect the result (see
  203.             examples below).
  204.           </p>
  205.             </dd>
  206.             <dt>
  207.               <span class="term">Pixel amount</span>
  208.             </dt>
  209.             <dd>
  210.               <p>
  211.             ‚Äú<span class="quote">Pixel amount</span>‚Äù is the size of the color blocks the
  212.             image will be simplified to if <span class="guilabel">Pixelize</span> is
  213.             checked. Actually you are decreasing the resolution with this
  214.             option. In the examples below, you can see directly how increasing
  215.             the pixel block size leads to something like
  216.             ‚Äú<span class="quote">macro pixels</span>‚Äù:
  217.           </p>
  218.               <div class="figure">
  219.                 <a id="id2761299"></a>
  220.                 <p class="title">
  221.                   <b>Figure¬†16.180.¬†
  222.               <span lang="en" xml:lang="en">‚Äú<span class="quote">Pixelize</span>‚Äù examples</span>
  223.             </b>
  224.                 </p>
  225.                 <div class="figure-contents">
  226.                   <div class="mediaobject">
  227.                     <img src="../images/filters/examples/predator-pixelize0.png" alt="Pixelize examples" />
  228.                     <div class="caption">
  229.                       <p>Disabled</p>
  230.                     </div>
  231.                   </div>
  232.                   <div class="mediaobject">
  233.                     <img src="../images/filters/examples/predator-pixelize4.png" alt="Pixelize examples" />
  234.                     <div class="caption">
  235.                       <p>4</p>
  236.                     </div>
  237.                   </div>
  238.                   <div class="mediaobject">
  239.                     <img src="../images/filters/examples/predator-pixelize8.png" alt="Pixelize examples" />
  240.                     <div class="caption">
  241.                       <p>8</p>
  242.                     </div>
  243.                   </div>
  244.                   <div class="mediaobject">
  245.                     <img src="../images/filters/examples/predator-pixelize16.png" alt="Pixelize examples" />
  246.                     <div class="caption">
  247.                       <p>16</p>
  248.                     </div>
  249.                   </div>
  250.                 </div>
  251.               </div>
  252.               <br class="figure-break" />
  253.             </dd>
  254.             <dt>
  255.               <span class="term">Keep selection</span>
  256.             </dt>
  257.             <dd>
  258.               <p>
  259.             If checked, the filter will be applied to the active selection.
  260.             Else, it will be applied to the active layer.
  261.           </p>
  262.             </dd>
  263.             <dt>
  264.               <span class="term">Separate layer</span>
  265.             </dt>
  266.             <dd>
  267.               <p>
  268.             When this option is checked, a copy of the active layer will be
  269.             created above the active layer and the filter will be applied to
  270.             this copy, leaving the original layer untouched. If not checked,
  271.             the filter will be applied to the active layer.
  272.           </p>
  273.             </dd>
  274.           </dl>
  275.         </div>
  276.       </div>
  277.       <div class="sect3" lang="en" xml:lang="en">
  278.         <div class="titlepage">
  279.           <div>
  280.             <div>
  281.               <h4 class="title"><a id="id2761444"></a>9.9.4.¬†
  282.       <span lang="en" xml:lang="en">Filter algorithm</span>
  283.     </h4>
  284.             </div>
  285.           </div>
  286.         </div>
  287.         <p>
  288.       Since this filter delegates the essential parts to two or three other
  289.       filters the algorithm is very simple:
  290.     </p>
  291.         <div class="procedure">
  292.           <div class="figure">
  293.             <a id="id2761466"></a>
  294.             <p class="title">
  295.               <b>Figure¬†16.181.¬†
  296.           <span lang="en" xml:lang="en">Making the ‚Äú<span class="quote">predator</span>‚Äù effect</span>
  297.         </b>
  298.             </p>
  299.             <div class="figure-contents">
  300.               <div class="mediaobject">
  301.                 <img src="../images/filters/examples/predator-step0.jpg" alt="Making the predator effect" />
  302.                 <div class="caption">
  303.                   <p>Original</p>
  304.                 </div>
  305.               </div>
  306.               <div class="mediaobject">
  307.                 <img src="../images/filters/examples/predator-step1.jpg" alt="Making the predator effect" />
  308.                 <div class="caption">
  309.                   <p>Pixelize</p>
  310.                 </div>
  311.               </div>
  312.               <div class="mediaobject">
  313.                 <img src="../images/filters/examples/predator-step2.jpg" alt="Making the predator effect" />
  314.                 <div class="caption">
  315.                   <p>Min RGB</p>
  316.                 </div>
  317.               </div>
  318.               <div class="mediaobject">
  319.                 <img src="../images/filters/examples/predator-step3.jpg" alt="Making the predator effect" />
  320.                 <div class="caption">
  321.                   <p>Edge detection</p>
  322.                 </div>
  323.               </div>
  324.             </div>
  325.           </div>
  326.           <br class="figure-break" />
  327.           <ol type="1">
  328.             <li>
  329.               <p>The original image.</p>
  330.             </li>
  331.             <li>
  332.               <p>
  333.           Optionally, the filter
  334.           <a class="link" href="plug-in-pixelize.html" title="2.6.¬† Pixelise">pixelizes</a> the image: it
  335.           renders the image by using color blocks instead of pixels, thus
  336.           reducing the image resolution.
  337.         </p>
  338.             </li>
  339.             <li>
  340.               <p>
  341.           The colors will be reduced to pure red, green, blue (and possibly
  342.           gray colors), using the <a class="link" href="plug-in-max-rgb.html" title="11.39.¬† Max RGB">minimal
  343.           RGB</a> channel for every pixel.
  344.         </p>
  345.             </li>
  346.             <li>
  347.               <p>
  348.           Applying the <a class="link" href="plug-in-edge.html" title="4.3.¬† Edge">Sobel edge
  349.           detecting</a> filter, the image will be reduced further on to
  350.           edges, usually on a black background, with very few colors.
  351.         </p>
  352.             </li>
  353.           </ol>
  354.         </div>
  355.       </div>
  356.     </div>
  357.     <div class="navfooter">
  358.       <hr />
  359.       <table width="100%" summary="Navigation footer">
  360.         <tr>
  361.           <td width="40%" align="left"><a accesskey="p" href="plug-in-apply-canvas.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  362.           <td width="20%" align="center">
  363.             <a accesskey="u" href="filters-artistic.html">
  364.               <img src="../images/up.png" alt="Up" />
  365.             </a>
  366.           </td>
  367.           <td width="40%" align="right">¬†<a accesskey="n" href="plug-in-lic.html"><img src="../images/next.png" alt="Next" /></a></td>
  368.         </tr>
  369.         <tr>
  370.           <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-apply-canvas.html">9.8.¬†
  371.     <span lang="en" xml:lang="en">Apply Canvas</span>
  372.   </a>¬†</td>
  373.           <td width="20%" align="center">
  374.             <a accesskey="h" href="index.html">
  375.               <img src="../images/home.png" alt="Home" />
  376.             </a>
  377.           </td>
  378.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="plug-in-lic.html">9.10.¬†
  379.     <span lang="en" xml:lang="en">Van Gogh (LIC)</span>
  380.   </a></td>
  381.         </tr>
  382.       </table>
  383.     </div>
  384.   </body>
  385. </html>
  386.